package cn.com.wangluotongxin.netty.event;

import io.netty.channel.Channel;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class HeartBeatEvent extends ApplicationEvent {

    private Integer clientId;

    private Channel channel;

    public HeartBeatEvent(Object source, Integer clientId, Channel channel) {
        super(source);
        this.clientId = clientId;
        this.channel = channel;
    }
}
